Python Web Penetration Testing Cookbook by 2015
Author:2015
Language: eng
Format: epub, mobi
Publisher: Packt Publishing
Fingerprinting servers through HTTP headers
The next part of the HTTP protocol that we will be concentrating on are the HTTP headers. Found in both the requests and responses from the web server, these carry extra information between the client and server. Any area with extra data makes a great place to parse information about the servers and to look for potential issues.
How to do it…
The following is a simple header grabbing script that will parse the response headers in an attempt to identify the web server technology in use:
import requests req = requests.get('http://packtpub.com') headers = ['Server', 'Date', 'Via', 'X-Powered-By', 'X-Country-Code'] for header in headers: try: result = req.headers[header] print '%s: %s' % (header, result) except Exception, error: print '%s: Not found' % header
Download
Python Web Penetration Testing Cookbook by 2015.mobi
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Effective Threat Investigation for SOC Analysts by Yahia Mostafa;(6469)
Practical Memory Forensics by Svetlana Ostrovskaya & Oleg Skulkin(6193)
Machine Learning Security Principles by John Paul Mueller(6157)
Attacking and Exploiting Modern Web Applications by Simone Onofri & Donato Onofri(5821)
Operationalizing Threat Intelligence by Kyle Wilhoit & Joseph Opacki(5793)
Solidity Programming Essentials by Ritesh Modi(3979)
Microsoft 365 Security, Compliance, and Identity Administration by Peter Rising(3618)
Operationalizing Threat Intelligence by Joseph Opacki Kyle Wilhoit(3349)
Mastering Python for Networking and Security by José Manuel Ortega(3344)
Future Crimes by Marc Goodman(3342)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3327)
Blockchain Basics by Daniel Drescher(3292)
Learn Computer Forensics - Second Edition by William Oettinger(3114)
Mobile App Reverse Engineering by Abhinav Mishra(2879)
Mastering Bitcoin: Programming the Open Blockchain by Andreas M. Antonopoulos(2867)
Incident Response with Threat Intelligence by Roberto Martínez(2831)
The Code Book by Simon Singh(2822)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2776)
Building a Next-Gen SOC with IBM QRadar: Accelerate your security operations and detect cyber threats effectively by Ashish M Kothekar(2645)
